home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 2741 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: jeack.apana.org.au!not-for-mail
  2. From: brett@jeack.apana.org.au (Brett Eden)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: BUG IN "STATUS" COMMAND FOUND
  5. Date: 5 Feb 1996 18:28:40 -0600
  6. Organization: I need to put my ORGANIZATION here.
  7. Distribution: world
  8. Message-ID: <4f67bo$q2u@jeack.apana.org.au>
  9. References: <4f403j$qpm@jeack.apana.org.au> <fjc.2plc@wossname.apana.org.au>
  10. NNTP-Posting-Host: jeack.apana.org.au
  11. X-Newsreader: TIN [version 1.2 PL2]
  12.  
  13. Hi Frank,
  14.  
  15. : It happens under KS 2.05 + WB 2.1 too.
  16.  
  17. Mmm.. I know - I just forgot to include that :)
  18.  
  19. : Just a bit of background first:
  20.  
  21. : Every CLI task (off-hand I'm not certain what qualifies a task to be a CLI
  22. : task, but running it from a CLI would be favourite) has a unique
  23. : identifier, stored in the pr_TaskNum field of its Process structure. This
  24. : is an index into a table of ProcessId's which is stored in dos.library's
  25. : base structure. This field is defined as a LONG, which is a *signed* 32-bit
  26. : integer. It's maximum value is therefore 2^31-1, which just happens to be
  27. : 2147483647. The minimum legal value for a CLI is 1 (0 is reserved to
  28. : indicate a non-CLI process), but a signed integer can have a minimum value
  29. : of -2^31, or -2147483648. Remember these numbers.
  30.  
  31. Thanks for making that clear, Frank :) I wonder who was responsible for this little gem? Bryce Nesbitt 
  32. if you are reading this - I love you man! ;-)
  33.  
  34. Brett
  35.  
  36.